package example.documentbased.mainModule.services
{
	import example.documentbased.mainModule.models.doman.Document;
	import example.documentbased.mainModule.models.doman.Editor;
	
	import raix.reactive.IObservable;

	public interface IEditorService
	{
		function getEditors():IObservable; // Vector.<Editor>
		
		function getEditor(id:String):IObservable // EditorVO
		
		function saveEditor(editor:Editor):IObservable; // id:String
		
		function removeEditor(editor:Editor):IObservable; // void
	}
}